/**
 * 2015-12-21
 * TeacherDao.java
 * author:sherlochao
 */
package com.sherlochao.dao;

import java.util.List;

import com.sherlochao.model.Course;
import com.sherlochao.model.Student;
import com.sherlochao.model.Teacher;

/**
 * @author yinchao
 *
 */
public interface TeacherDao extends GenericDao<Teacher, String>{
	
	//查询该老师所带的所有课程
	List<Course> listCourseByTeacherId(String teacherId);
	
	//查询该老师所带课程的学生
	List<Integer> listStudentByTeacherId(String teacherId);

}
